# -*- coding: utf-8 -*-

BOT_NAME = 'kuaishouSpider'
SPIDER_MODULES = ['kuaishouSpider.spiders']
NEWSPIDER_MODULE = 'kuaishouSpider.spiders'
USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36'
DOWNLOAD_DELAY = 10
CONCURRENT_REQUESTS = 32
DOWNLOAD_TIMEOUT = 15
TELNETCONSOLE_ENABLED = False
COOKIES_ENABLED = False
LOG_LEVEL = 'ERROR'
DEFAULT_REQUEST_HEADERS = {
  'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  'Accept-Language': 'zh-CN,zh;q=0.9',
  'cookie': 'your cookie',

}
ITEM_PIPELINES = {
    'kuaishouSpider.pipelines.DuplicatesPipeline': 301,
    'kuaishouSpider.pipelines.KuaishouspiderPipeline': 302,
}

# 二选一，默认是使用用户名字
# 设置需要搜索的用户名字
# 设置需要搜索的用户id
# 如果是使用用户id那么精度会大大提升，但是将会失去部分用户数据
# NAME = ['听安']
USER_ID = ['3x53jve2wmk2g32']

# 需要的作品数量
# 默认全部是0，需要多少设置多少，不要超出全部的作品数量
PHOTO_NUM = 0



